home *** CD-ROM | disk | FTP | other *** search
/ Sunday Savers: Sharing Fun! I Know My Savior Lives / Sunday Savers: Sharing Fun! I Know My Savior Lives.iso / mac / Xtras / Buddy API 1.6 / Buddy API Docs.swf / texts / 1124.txt < prev    next >
Encoding:
Text File  |  2004-08-31  |  3.0 KB  |  123 lines

  1. 27
  2. --- RECORDSEPARATOR ---
  3.  
  4. --- RECORDSEPARATOR ---
  5. ReadRegMulti 
  6. --- RECORDSEPARATOR ---
  7. Platform:
  8. --- RECORDSEPARATOR ---
  9.  
  10. --- RECORDSEPARATOR ---
  11. Windows
  12. --- RECORDSEPARATOR ---
  13.  
  14. --- RECORDSEPARATOR ---
  15. Description:
  16. --- RECORDSEPARATOR ---
  17.  
  18. --- RECORDSEPARATOR ---
  19. baReadRegMulti gets a multi string value from the Windows Registry.
  20. --- RECORDSEPARATOR ---
  21.  
  22. --- RECORDSEPARATOR ---
  23. Usage:
  24. --- RECORDSEPARATOR ---
  25.  
  26. --- RECORDSEPARATOR ---
  27. Result = ReadRegString( KeyName, ValueName, Default, Branch )
  28. --- RECORDSEPARATOR ---
  29.  
  30. --- RECORDSEPARATOR ---
  31. Arguments:
  32. --- RECORDSEPARATOR ---
  33.  
  34. --- RECORDSEPARATOR ---
  35. String, String, String, String. 
  36. --- RECORDSEPARATOR ---
  37. KeyName is the name of the key. 
  38. --- RECORDSEPARATOR ---
  39. ValueName is the name of the value. Under 16 bit, this value is ignored. 
  40. --- RECORDSEPARATOR ---
  41. Default is the string that is returned if the key/value doesn't exist. 
  42. --- RECORDSEPARATOR ---
  43. Branch is the branch of the registry to use. Can be one of the following: 
  44. --- RECORDSEPARATOR ---
  45. "HKEY_CLASSES_ROOT" 
  46. --- RECORDSEPARATOR ---
  47. "HKEY_CURRENT_USER" 
  48. --- RECORDSEPARATOR ---
  49. "HKEY_LOCAL_MACHINE" 
  50. --- RECORDSEPARATOR ---
  51. "HKEY_USERS" 
  52. --- RECORDSEPARATOR ---
  53. ΓÇ£HKEY_CURRENT_USERΓÇ¥ 
  54. --- RECORDSEPARATOR ---
  55. ΓÇ£HKEY_DYN_DATAΓÇ¥
  56. --- RECORDSEPARATOR ---
  57.  
  58. --- RECORDSEPARATOR ---
  59. Returns:
  60. --- RECORDSEPARATOR ---
  61.  
  62. --- RECORDSEPARATOR ---
  63. List (Xtra) or String (UCD). 
  64. --- RECORDSEPARATOR ---
  65. Returns a list containing the strings stored in Keyname. If the Keyname doesn't 
  66. --- RECORDSEPARATOR ---
  67. exist, then the return will a list containing just the Default string.
  68. --- RECORDSEPARATOR ---
  69.  
  70. --- RECORDSEPARATOR ---
  71. Examples:
  72. --- RECORDSEPARATOR ---
  73.  
  74. --- RECORDSEPARATOR ---
  75. Director: 
  76. --- RECORDSEPARATOR ---
  77. set data = baReadRegMulti( "Courses\Computers", "Data", "Error", 
  78. --- RECORDSEPARATOR ---
  79. "HKEY_CLASSES_ROOT" ) 
  80. --- RECORDSEPARATOR ---
  81. Authorware: 
  82. --- RECORDSEPARATOR ---
  83. Data := baReadRegString( "Courses\\Computers", "Data", "Error", 
  84. --- RECORDSEPARATOR ---
  85. "HKEY_CLASSES_ROOT" )
  86. --- RECORDSEPARATOR ---
  87.  
  88. --- RECORDSEPARATOR ---
  89. Notes:
  90. --- RECORDSEPARATOR ---
  91.  
  92. --- RECORDSEPARATOR ---
  93. The multi string type of registry entry consists of a series of strings. 
  94. --- RECORDSEPARATOR ---
  95. in the Xtra the return will a list containing the string values. eg: 
  96. --- RECORDSEPARATOR ---
  97. [ "date", "20011121, "time", "231823" ] 
  98. --- RECORDSEPARATOR ---
  99. In the UCD, the return will be a string with each value on a separate line. eg: 
  100. --- RECORDSEPARATOR ---
  101. "date\r20011121\rtime\r231823" 
  102. --- RECORDSEPARATOR ---
  103. Use the Authorware GetLine function to retrieve the values. 
  104. --- RECORDSEPARATOR ---
  105. If the key does not exist, then a list with the default value (as a string) as its only 
  106. --- RECORDSEPARATOR ---
  107. entry will be returned, eg: 
  108. --- RECORDSEPARATOR ---
  109. ["error"]
  110. --- RECORDSEPARATOR ---
  111.  
  112. --- RECORDSEPARATOR ---
  113. See also:
  114. --- RECORDSEPARATOR ---
  115.  
  116. --- RECORDSEPARATOR ---
  117. baWriteRegString 
  118. --- RECORDSEPARATOR ---
  119. baReadRegNumber 
  120. --- RECORDSEPARATOR ---
  121. baWriteRegNumber 
  122. --- RECORDSEPARATOR ---
  123. baDeleteReg